package org.rency.crawler.domain;

import java.time.LocalDateTime;
import org.rency.crawler.domain.vo.BaseDomain;

/**
 * 描述: 抓取域名服务<br>
 * 最近修改时间:2017/11/22 18:48<br>
 *
 * @author CaiyuRen
 * @version V1.0
 * @since 2017/11/22 18:48
 */
public class FetchHost extends BaseDomain {

  /**
   * 域名编号
   */
  private String            hostNo;

  /**
   * 域名
   */
  private String            hostName;

  /**
   * 域名IP地址
   */
  private String            hostAddress;

  /**
   * IP地址(IP+PORT)
   */
  private String            ipAddress;

  /**
   * 抓取间隔时间
   */
  private Long              fetchIntervalTime;

  /**
   * 最近访问时间
   */
  private LocalDateTime     lastedFetchTime;

  /**
   * 域名优先级
   */
  private Long              hostPriority;

  public String getHostNo() {
    return hostNo;
  }

  public void setHostNo(String hostNo) {
    this.hostNo = hostNo;
  }

  public String getHostName() {
    return hostName;
  }

  public void setHostName(String hostName) {
    this.hostName = hostName;
  }

  public String getHostAddress() {
    return hostAddress;
  }

  public void setHostAddress(String hostAddress) {
    this.hostAddress = hostAddress;
  }

  public String getIpAddress() {
    return ipAddress;
  }

  public void setIpAddress(String ipAddress) {
    this.ipAddress = ipAddress;
  }

  public Long getFetchIntervalTime() {
    return fetchIntervalTime;
  }

  public void setFetchIntervalTime(Long fetchIntervalTime) {
    this.fetchIntervalTime = fetchIntervalTime;
  }

  public LocalDateTime getLastedFetchTime() {
    return lastedFetchTime;
  }

  public void setLastedFetchTime(LocalDateTime lastedFetchTime) {
    this.lastedFetchTime = lastedFetchTime;
  }

  public Long getHostPriority() {
    return hostPriority;
  }

  public void setHostPriority(Long hostPriority) {
    this.hostPriority = hostPriority;
  }
}
